package edu.cuit.zhuyimeng.ticket.controller.vo;

import edu.cuit.zhuyimeng.flight.api.dto.FlightInfoDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 飞机票信息VO
 */
@Schema(name = "飞机票信息VO")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TicketInfoVO implements Serializable {

    /**
     * 飞机票ID
     */
    @Schema(description = "飞机票ID")
    private Long id;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String userLoginId;

    /**
     * 航班信息
     */
    @Schema(description = "航班信息")
    private FlightInfoDTO flightInfo;

    @Serial
    private static final long serialVersionUID = 1L;
}
